home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / pssnap / sgi / O.sgi / Makefile < prev    next >
Encoding:
Makefile  |  1993-02-01  |  585 b   |  27 lines

  1. GEOM = ../../../../..
  2. include ${GEOM}/makefiles/Makedefs.global
  3. include ../Makedefs
  4. include ../../common/Makedefs.common
  5.  
  6. LIBS = ${ALLOOGLLIBS} -lgeomutil  -lforms -lfm_s -lgl_s -lm -lmalloc
  7.  
  8. all:  ${TARGETS}
  9.  
  10. ${COMMON_OBJS}:
  11.     rm -f $@ ${@:o=c}
  12.     ln ../../common/${@:o=c} .
  13.     ${CC} ${CFLAGS} -c ${@:o=c}
  14.  
  15. pssnap:  ${COMMON_OBJS} ${OBJS}
  16.     /bin/rm -f ../pssnap || :
  17.     ${CC} ${CFLAGS} -o pssnap ${OBJS} ${COMMON_OBJS} ${LIBS}
  18.     ln pssnap ..
  19.  
  20. install:  install_module
  21.  
  22. install_module:  pssnap
  23.     ${INSTALLMODULE} pssnap ../.geomview-pssnap ${MODULEDIR}
  24.  
  25. include ${GEOM}/makefiles/Makerules.obj
  26.  
  27.